{extend name="base_iframe" /}


{block name="body"}


	<form class="form-horizontal ajax-form"  method="post" >

		<div class="row box-ota-info">
			<div class="col-md-12">
				<div class="box-body">


					<div class="form-group">
						<div class="col-sm-2"></div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">分类名称</label>
						<div class="col-sm-8">
							<input type="text" class="form-control" name="cate_name" placeholder="请输入分类名称" value="" />
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-2 control-label">上级分类</label>
						<div class="col-sm-3">
							<select class="form-control" name="parent_id">
								<option value="0" >———— 无上级分类 ————</option>
								{volist name="cateinfo" id="v"}
									<option value="{$v.id}">{$v.level ? "|" : ""} {:str_repeat("——", $v.level)} {$v.cate_name}</option>
								{/volist}
							</select>
						</div>
					</div>
                


				</div>
			</div>
		</div>
	</form>


{/block}


{block name="script"}
	<script type="text/javascript" src="__AJS__/article_cate/add.js"></script>
{/block}
